Imports System.Drawing

Namespace Overlay.Series
    Public MustInherit Class SeriesStackedBase
        Inherits SeriesBase
        Implements iSeries

        Protected msnNullValue As Single = -999

        ''' <summary>
        ''' This is the value that is considered to be null when it is encountered 
        ''' in the Values array. No chart element is displayed for null values.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks>Defaults to (-999)</remarks>
        Public Property NullValue() As Single
            Get
                Return msnNullValue
            End Get
            Set(ByVal value As Single)
                msnNullValue = value
            End Set
        End Property

        ''' <summary>
        ''' This is the color to use for the series. 
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Overrides Property Color() As System.Drawing.Color Implements iSeries.Color
            Get
                Return MyBase.Color
            End Get
            Set(ByVal value As System.Drawing.Color)
                MyBase.Color = value
            End Set
        End Property

        ''' <summary>
        ''' Sets or gets the name of the series. This value is be returned, along with 
        ''' the value, when the user clicks on a chart as part of drill-down functionality.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Overrides Property Name() As String Implements iSeries.Name
            Get
                Return MyBase.Name
            End Get
            Set(ByVal value As String)
                MyBase.Name = value
            End Set
        End Property

        ''' <summary>
        ''' This is the relative opacity of the series. A value of 1 is completely opaque. A value of 0 is transparent.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Overrides Property Opacity() As Single Implements iSeries.Opacity
            Get
                Return MyBase.Opacity
            End Get
            Set(ByVal value As Single)
                MyBase.Opacity = value
            End Set
        End Property
    End Class
End Namespace